<template>
    <div>
      <!-- <h3>信息标题：{{ $route.params.name }}</h3>
      <h3>信息编号：{{ $route.params.id }}</h3> -->
      <h3>信息标题：{{ name }}</h3>
      <h3>信息编号：{{ id }}</h3>
    </div>
  </template>
  
  <script>
  export default {
    name: 'MyDetails',
    props: ['id', 'name']
  }
  </script>